.class Lcom/netease/newsreader/activity/NewsReader$41;
.super Ljava/util/TimerTask;
.source "NewsReader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->autoDownOffline()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 4221
    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 4225
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 4226
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 4235
    :goto_0
    return-void

    .line 4228
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->isWifi(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4229
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x6

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0

    .line 4231
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$41;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x7

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0
.end method
